package cn.cangfei.massage.entity;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

public class MassageDoctor implements Serializable {
    /**
     * 师傅编号
     *
     * @mbg.generated
     */
    @ApiModelProperty(value = "师傅编号")
    private Long id;

    /**
     * 师傅姓名
     *
     * @mbg.generated
     */
    @ApiModelProperty(value = "师傅姓名")
    private String name;

    /**
     * 性别：1，男；2，女
     *
     * @mbg.generated
     */
    @ApiModelProperty(value = "性别：1，男；2，女")
    private Integer gender;

    /**
     * 师傅职称
     *
     * @mbg.generated
     */
    @ApiModelProperty(value = "师傅职称")
    private String jobTitle;

    /**
     * 师傅专长
     *
     * @mbg.generated
     */
    @ApiModelProperty(value = "师傅专长")
    private String specialty;

    /**
     * 所属专科
     *
     * @mbg.generated
     */
    @ApiModelProperty(value = "所属专科")
    private Long specialId;

    /**
     * 所属门诊
     *
     * @mbg.generated
     */
    @ApiModelProperty(value = "所属门诊")
    private Long outpatientId;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    @ApiModelProperty(value = "创建时间")
    private Date gmtCreate;

    /**
     * 推拿馆id
     *
     * @mbg.generated
     */
    @ApiModelProperty(value = "推拿馆id")
    private Long massageId;

    /**
     * 头像网址
     *
     * @mbg.generated
     */
    @ApiModelProperty(value = "头像网址")
    private String img;

    /**
     * 师傅的微信号
     *
     * @mbg.generated
     */
    @ApiModelProperty(value = "师傅的微信号")
    private String openId;

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getOpenId() {
        return openId;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public void setMassageId(Long massageId) {
        this.massageId = massageId;
    }

    public Long getMassageId() {
        return massageId;
    }

    /**
     * 更新时间
     *
     * @mbg.generated
     */
    @ApiModelProperty(value = "更新时间")
    private Date gmtModified;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getJobTitle() {
        return jobTitle;
    }

    public void setJobTitle(String jobTitle) {
        this.jobTitle = jobTitle == null ? null : jobTitle.trim();
    }

    public String getSpecialty() {
        return specialty;
    }

    public void setSpecialty(String specialty) {
        this.specialty = specialty == null ? null : specialty.trim();
    }

    public Long getSpecialId() {
        return specialId;
    }

    public void setSpecialId(Long specialId) {
        this.specialId = specialId;
    }

    public Long getOutpatientId() {
        return outpatientId;
    }

    public void setOutpatientId(Long outpatientId) {
        this.outpatientId = outpatientId;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    @Override
    public String toString() {
        String sb = getClass().getSimpleName() +
                " [" +
                "Hash = " + hashCode() +
                ", id=" + id +
                ", name=" + name +
                ", gender=" + gender +
                ", jobTitle=" + jobTitle +
                ", specialty=" + specialty +
                ", specialId=" + specialId +
                ", outpatientId=" + outpatientId +
                ", gmtCreate=" + gmtCreate +
                ", gmtModified=" + gmtModified +
                ", serialVersionUID=" + serialVersionUID +
                "]";
        return sb;
    }
}
